493dd6a960bdf8e7e404199310a37569eac2c923,src/org/lwjgl/demo/vulkan/ColoredTriangleDemo.java,ColoredTriangleDemo,main,#String[]#,1197

Before Change


        // Info struct to present the current swapchain image to the display
        VkPresentInfoKHR presentInfo = VkPresentInfoKHR.calloc()
                .sType(VK_STRUCTURE_TYPE_PRESENT_INFO_KHR)
                .pNext(NULL)
                .waitSemaphoreCount(1)
                .pWaitSemaphores(pRenderCompleteSemaphore)
                .swapchainCount(1)
                .pSwapchains(pSwapchains)
                .pImageIndices(pImageIndex)
                .pResults(null);

After Change


        // Info struct to present the current swapchain image to the display
        VkPresentInfoKHR presentInfo = VkPresentInfoKHR.calloc()
                .sType(VK_STRUCTURE_TYPE_PRESENT_INFO_KHR)
                .pNext(NULL)
                .pWaitSemaphores(pRenderCompleteSemaphore)
                .pSwapchains(pSwapchains)
                .pImageIndices(pImageIndex)
                .pResults(null);